#ifndef AGENCE_H
#define AGENCE_H
#include <iostream>
#include <string>
#include<fstream>
using namespace std;

class Agence
{
    public:
        Agence();
        Agence(long,string,string,string);
        ~Agence();
        long getIdagence();
        string getNomagence();
        string getNomgest();
        string getLocal();
        void setId(long);
        void setNom(string);
        void setNomgest(string);
        void setLocal(string);
        void afficher();
      friend ofstream& operator<<(ofstream& ,const Agence&);  
      friend ifstream& operator>>(ifstream& ,Agence&);  
    protected:
    private:
		long idagence;
		string nomagence;
		string nomgestionnaire;
		string local;
};

ofstream& operator<<(ofstream& ,const Agence&);  
ifstream& operator>>(ifstream& ,Agence&);  


#endif // AGENCE_H
